Array.prototype.chunk = function (size) {
    if (size == 1) {
        return this
    }
    if (size >= this.length) {
        return [
            this
        ]
    }
    const arr = []
    for (var i = 0; i < this.length; i += size) {
        arr.push(this.slice(i, i + size))
    }
    return arr
}